package com.hjq.fcloud.http.api;

import com.hjq.fcloud.http.Urls;
import com.hjq.http.config.IRequestApi;

import java.lang.reflect.Array;

public final class FlowStatusApi implements IRequestApi {

    @Override
    public String getApi() {
        return Urls.URL_FLOW_STATUS;
    }

    public static class FlowStatusData {
        //main_status为9表示重签
        private String main_status;
        //finished（当前步骤是否完成 1完成 0未完成 -1当前步骤未达），如果是0，则表示可以签约，如果同时main_status=9，则表示重签
        private String finished;
        private String[] curr_info;

        public String getFinished() {
            return finished == null ? "" : finished;
        }

        public void setFinished(String finished) {
            this.finished = finished;
        }

        public String getMain_status() {
            return main_status == null ? "" : main_status;
        }

        public void setMain_status(String main_status) {
            this.main_status = main_status;
        }

        public String[] getCurr_info() {
            return curr_info;
        }

        public void setCurr_info(String[] curr_info) {
            this.curr_info = curr_info;
        }
    }
}